
package com.idea.resources.general;

import javax.swing.ImageIcon;


public class GeneralIcons {
    public static final ImageIcon newIcon;
    public static final ImageIcon openIcon;
    public static final ImageIcon saveIcon;
    public static final ImageIcon saveAsIcon;
    public static final ImageIcon cutIcon;
    public static final ImageIcon pasteIcon;
    public static final ImageIcon copyIcon;
    public static final ImageIcon deleteIcon;
    public static final ImageIcon editIcon;
    public static final ImageIcon helpIcon;
    public static final ImageIcon exportIcon;
    public static final ImageIcon importIcon;
    
	public static final ImageIcon closeIcon;
	public static final ImageIcon cloneIcon;
	
	public static final ImageIcon printIcon;
	public static final ImageIcon lineIcon;

    static {
        ClassLoader loader = GeneralIcons.class.getClassLoader();

        /*
        System.out.println("loader = " + loader);
        System.out.println(
                "loader.getResource(com/idea/resources/general/New16.gif) = "
                        + loader.getResource(
                                "com/idea/resources/general/New16.gif"));
        System.out.println(
                "loader.getResource(GeneralIcons.class) = "
                        + loader.getResource(
                                "com/idea/resources/general/GeneralIcons.class"));
                                */
        newIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/New16.gif"));
        openIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Open16.gif"));
        saveIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Save16.gif"));
        saveAsIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/SaveAs16.gif"));

        cutIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Cut16.gif"));
        pasteIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Paste16.gif"));
        copyIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Copy16.gif"));
        deleteIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Delete16.gif"));

        helpIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Help16.gif"));

        editIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Edit16.gif"));

        exportIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Export16.gif"));

        importIcon = new ImageIcon(loader.getResource(
                    "com/idea/resources/general/Import16.gif"));
                    
		closeIcon = new ImageIcon(loader.getResource(
					"com/idea/resources/general/Close16.gif"));

		cloneIcon = new ImageIcon(loader.getResource(
					"com/idea/resources/general/Clone16.gif"));
					
		printIcon = new ImageIcon(loader.getResource(
					"com/idea/resources/general/Print16.gif"));
					
		lineIcon = new ImageIcon(loader.getResource(
					"com/idea/resources/graph/line16.gif"));
    }

    public static void main(String[] args) {
        new GeneralIcons();
    }
}
